package com.ysqcould.Community.domain;


import com.ysqcould.common.annotation.Excel;
import com.ysqcould.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 公益捐助二维码对象 t_donations_activity
 * 
 * @author ruoyi
 * @date 2022-06-30
 */
public class DonationsActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 商家名称 */
    @Excel(name = "商家名称")
    private String merName;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 活动名 */
    @Excel(name = "活动名")
    private String content;

    /** 0 正常 1冻结 2删除 */
    @Excel(name = "0 正常 1冻结 2删除")
    private Long status;

    /** 1 信息二维码 2捐款二维码 */
    @Excel(name = "1 信息二维码 2捐款二维码")
    private Long type;

    /** 二维码地址 */
    @Excel(name = "二维码地址")
    private String codeUrl;

    /** 协会id */
    @Excel(name = "协会id")
    private Long asId;

    /** 链接地址 */
    @Excel(name = "链接地址")
    private String linkUrl;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMerName(String merName) 
    {
        this.merName = merName;
    }

    public String getMerName() 
    {
        return merName;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setCodeUrl(String codeUrl) 
    {
        this.codeUrl = codeUrl;
    }

    public String getCodeUrl() 
    {
        return codeUrl;
    }
    public void setAsId(Long asId) 
    {
        this.asId = asId;
    }

    public Long getAsId() 
    {
        return asId;
    }
    public void setLinkUrl(String linkUrl) 
    {
        this.linkUrl = linkUrl;
    }

    public String getLinkUrl() 
    {
        return linkUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("merName", getMerName())
            .append("projectName", getProjectName())
            .append("content", getContent())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("type", getType())
            .append("codeUrl", getCodeUrl())
            .append("asId", getAsId())
            .append("linkUrl", getLinkUrl())
            .toString();
    }
}
